Python 3.x - redirection not allowed error

Avg Bid (USD)
$23 / hr
Project Budget (USD)
$2 - $5 / hr

Project Description:
I am getting a 'redirection to url /home is not allowed' error. How do I fix it ?
After logging in, the website redirects that's when I get the error.
Please see attached code.

Hours of work: 2 Project Duration: < 1 week Skills required:
Python, Web Scraping
Additional Files:
About the employer:
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.

Hire XmuFive
$30 / hr
Hours: 1 hr/ week
Hire genkov
$15 / hr
Hours: 1 hr/ week