Add tests for current_user and return None if unavailable

Look at the beautiful tests!