get changes from 3eb7dbb304c4ba2829353e5f12a5c84fc682cf9e

Fixed issue with registration and password reset not working

Possibly caused by spring security implementation.