Redirecting to log in page after registration.

This has recently changed and the tests I just merged into master needed
to reflect that.
Bug after copy & paste.

Reference to user inside the user instance by 'user', when it should
really be 'self'.
Fixed indentation.
Removed debug output. (Left there by mistake)
Resetting of password is done without validation.

This is because when password is changed, validation of the old password
is done, but that is not present at that time.