Added login route

Added an option to use the /login/:username/:password route without a
basic auth for testing