Moving all generic routes (i.e. the ones that apply to both LDAP and non-LDAP users) to basic.js
Keeping only own-auth (i.e. non-LDAP) routes here. All generic routes (i.e. the ones that apply to both LDAP and non-LDAP users) have been moved to basic.js
Adding user.js route to middleware stack only when LDAP config switch is turned off.
Housekeeping and concise function names.
We don't need JS to just display the error message on the LDAP login page, as we don't have tabs anyway. Yay.