small pep8 corrections to authenticate_by_token
Added a functionality to set and return a privacy level of a given profile.