fix get_access_token, multiple tokens created at once

We found that when the get_access_token view is called in simultaneous more than one token are created so the exception MultipleObjectsReturned is raised.