Require a user cookie to POST a mapped user

The user that wants to map to another username must provide a cookie to prove that they have successfully authenticated with the system
Switch from pep8 to flake8