add basePath for redirect
Merge pull request #117 from assureit/fix_login_routing

add basePath for redirect