Modify the existing login api in a way that it will allow the user to login via username as well. currently it is only allowing email to log the user in. VAN-445
common ------ This directory contains common code shared between LMS and CMS, such as Mako templates, CSS, and Coffescript.