Fixes

Fixed:

  1. There was a bug with installations in subdirectories(f.e. example.com/redmine). New users were being redirected incorrectly.
  2. Login should be correctly set to email if respective option is enabled.