Use strip/reassignment instead of strip!
This prevents an error when username and api_key are command-line args