Added a make_valid_nickname call to the after_login handler in app/views.py.