Upgrade to static.mydigipass.com

Added an extra constant (MDP_BASE_URI) that defines the possible base urls of mydigipass.com.

Also optimized code so, that the you don't get any warnings.