<!--- Verify first that your issue is not already reported on GitHub -->
<!--- Also test if the latest release and devel branch are affected too -->
<!--- Complete *all* sections as described, this form is processed automatically -->

##### SUMMARY
`ansible-galaxy login --ignore-certs` is not respected. Further, the traceback for the error when a cert fails isn't clear.

##### ISSUE TYPE
- Bug Report

##### COMPONENT NAME
ansible-galaxy login https://github.com/ansible/ansible/blob/devel/lib/ansible/galaxy/login.py#L91

##### ANSIBLE VERSION
<!--- Paste verbatim output from "ansible --version" between quotes -->
```

```

##### CONFIGURATION
<!--- Paste verbatim output from "ansible-config dump --only-changed" between quotes -->
```
ansible 2.9.0.dev0
  config file = None
  configured module search path = [u'/home/meyers/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /home/meyers/ansible/virtualenv/ansible-dev2/local/lib/python2.7/site-packages/ansible
  executable location = /home/meyers/ansible/virtualenv/ansible-dev2/bin/ansible
  python version = 2.7.16 (default, Apr  6 2019, 01:42:57) [GCC 8.3.0]
```

##### OS / ENVIRONMENT
<!--- Provide all relevant information below, e.g. target OS versions, network device firmware, etc. -->
```
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=19.04
DISTRIB_CODENAME=disco
DISTRIB_DESCRIPTION="Ubuntu 19.04"
```


##### STEPS TO REPRODUCE
<!--- Describe exactly how to reproduce the problem, using a minimal test-case -->

<!--- Paste example playbooks or commands between quotes below -->
```
ansible-galaxy login -c
```
You can enter junk for the username/password and the error will trigger.

<!--- HINT: You can paste gist.github.com links for larger files -->

##### EXPECTED RESULTS
```
ERROR! Bad credentials
```


##### ACTUAL RESULTS
<!--- Describe what actually happened. If possible run with extra verbosity (-vvvv) -->

<!--- Paste verbatim command output between quotes -->
```
kjfldjansible-galaxy 2.9.0.dev0
  config file = None
  configured module search path = [u'/home/meyers/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /home/meyers/ansible/virtualenv/ansible-dev2/local/lib/python2.7/site-packages/ansible
  executable location = /home/meyers/ansible/virtualenv/ansible-dev2/bin/ansible-galaxy
  python version = 2.7.16 (default, Apr  6 2019, 01:42:57) [GCC 8.3.0]
No config file found; using defaults
Opened /home/meyers/.ansible_galaxy


We need your GitHub login to identify you.
This information will not be sent to Galaxy, only to api.github.com.
The password will not be displayed.

Use --github-token if you do not want to enter your password.

GitHub Username: fldlfd
Password for dkjfldjfldlfd:
ca path None
Force False
ERROR! Unexpected Exception, this is probably a bug: Incorrect padding
the full traceback was:

Traceback (most recent call last):
  File "/home/meyers/ansible/virtualenv/ansible-dev2/bin/ansible-galaxy", line 111, in <module>
    exit_code = cli.run()
  File "/home/meyers/ansible/virtualenv/ansible-dev2/local/lib/python2.7/site-packages/ansible/cli/galaxy.py", line 269, in run
    context.CLIARGS['func']()
  File "/home/meyers/ansible/virtualenv/ansible-dev2/local/lib/python2.7/site-packages/ansible/cli/galaxy.py", line 888, in execute_login
    github_token = login.create_github_token()
  File "/home/meyers/ansible/virtualenv/ansible-dev2/local/lib/python2.7/site-packages/ansible/galaxy/login.py", line 100, in create_github_token
    self.remove_github_token()
  File "/home/meyers/ansible/virtualenv/ansible-dev2/local/lib/python2.7/site-packages/ansible/galaxy/login.py", line 81, in remove_github_token
    url_password=self.github_password, force_basic_auth=True,))
  File "/home/meyers/ansible/virtualenv/ansible-dev2/local/lib/python2.7/site-packages/ansible/module_utils/urls.py", line 1382, in open_url
    use_gssapi=use_gssapi, unix_socket=unix_socket, ca_path=ca_path)
  File "/home/meyers/ansible/virtualenv/ansible-dev2/local/lib/python2.7/site-packages/ansible/module_utils/urls.py", line 1235, in open
    tmp_ca_path, cadata, paths_checked = ssl_handler.get_ca_certs()
  File "/home/meyers/ansible/virtualenv/ansible-dev2/local/lib/python2.7/site-packages/ansible/module_utils/urls.py", line 870, in get_ca_certs
    to_native(b_cert, errors='surrogate_or_strict')
  File "/usr/lib/python2.7/ssl.py", line 988, in PEM_cert_to_DER_cert
    return base64.decodestring(d.encode('ASCII', 'strict'))
  File "/usr/lib/python2.7/base64.py", line 328, in decodestring
    return binascii.a2b_base64(s)
Error: Incorrect padding
```

#
#
#
#
'''
The **urls** utils module offers a replacement for the urllib2 python library.
urllib2 is the python stdlib way to retrieve files from the Internet but it
lacks some security features (around verifying SSL certificates) that users
should care about in most situations. Using the functions in this module corrects
deficiencies in the urllib2 module wherever possible.
There are also third-party libraries (for instance, requests) which can be used